﻿namespace Digitalmes.ControlEx;

/// <summary>
/// LED 配置
/// </summary>
public sealed class LedProfile
{
    /// <summary>
    /// 配置名称
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 图片名称，图片位于 ./Resources/Images/ 目录下
    /// </summary>
    public string ImageName { get; set; } = string.Empty;

    /// <summary>
    /// 画布宽度
    /// </summary>
    public double CanvasWidth { get; set; }

    /// <summary>
    /// 画布高度
    /// </summary>
    public double CanvasHeight { get; set; }

    /// <summary>
    /// 是否是默认配置
    /// </summary>
    public bool IsDefault { get; set; }

    /// <summary>
    /// 点集合
    /// </summary>
    public List<LedPoint> Points { get; set; } = [];
}
